﻿using System.ComponentModel.DataAnnotations;

namespace OpenAdmin.HttpApi
{
    /// <summary>
    /// 
    /// </summary>
    public class BlogDto
    {
        /// <summary>
        /// 
        /// </summary>
        [MinLength(11, ErrorMessage = "长度不够")]
        [Required(ErrorMessage = "名称不能为空")]
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Url { get; set; }
    }
}
